home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xt / XtAppErrorMsg.z / XtAppErrorMsg
Encoding:
Text File  |  1998-10-30  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAppppppppEEEErrrrrrrroooorrrrMMMMssssgggg((((3333XXXXtttt)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))  XXXXttttAAAAppppppppEEEErrrrrrrroooorrrrMMMMssssgggg((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAppErrorMsg, XtAppSetErrorMsgHandler,
  10.           XtAppSetWarningMsgHandler, XtAppWarningMsg - high-level
  11.           error handlers
  12.  
  13.      SSSSYYYYNNNNTTTTAAAAXXXX
  14.           void XtAppErrorMsg(_a_p_p__c_o_n_t_e_x_t, _n_a_m_e, _t_y_p_e, _c_l_a_s_s, _d_e_f_a_u_l_t,
  15.            _p_a_r_a_m_s, _n_u_m__p_a_r_a_m_s)
  16.               XtAppContext _a_p_p__c_o_n_t_e_x_t;
  17.               String _n_a_m_e;
  18.               String _t_y_p_e;
  19.               String _c_l_a_s_s;
  20.               String _d_e_f_a_u_l_t;
  21.               String *_p_a_r_a_m_s;
  22.               Cardinal *_n_u_m__p_a_r_a_m_s;
  23.  
  24.           void XtAppSetErrorMsgHandler(_a_p_p__c_o_n_t_e_x_t, _m_s_g__h_a_n_d_l_e_r)
  25.                 XtAppContext _a_p_p__c_o_n_t_e_x_t;
  26.                 XtErrorMsgHandler _m_s_g__h_a_n_d_l_e_r;
  27.  
  28.           void XtAppSetWarningMsgHandler(_a_p_p__c_o_n_t_e_x_t, _m_s_g__h_a_n_d_l_e_r)
  29.                 XtAppContext _a_p_p__c_o_n_t_e_x_t;
  30.                 XtErrorMsgHandler _m_s_g__h_a_n_d_l_e_r;
  31.  
  32.           void XtAppWarningMsg(_a_p_p__c_o_n_t_e_x_t, _n_a_m_e, _t_y_p_e, _c_l_a_s_s,
  33.           _d_e_f_a_u_l_t, _p_a_r_a_m_s, _n_u_m__p_a_r_a_m_s)
  34.               XtAppContext _a_p_p__c_o_n_t_e_x_t;
  35.               String _n_a_m_e;
  36.               String _t_y_p_e;
  37.               String _c_l_a_s_s;
  38.               String _d_e_f_a_u_l_t;
  39.               String *_p_a_r_a_m_s;
  40.               Cardinal *_n_u_m__p_a_r_a_m_s;
  41.  
  42.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.           _a_p_p__c_o_n_t_e_x_t
  44.                     Specifies the application context.
  45.  
  46.           _c_l_a_s_s     Specifies the resource class.
  47.  
  48.           _d_e_f_a_u_l_t   Specifies the default message to use.
  49.  
  50.           _n_a_m_e      Specifies the general kind of error.
  51.  
  52.           _t_y_p_e      Specifies the detailed name of the error.
  53.  
  54.           _m_s_g__h_a_n_d_l_e_r
  55.                     Specifies the new fatal error procedure, which
  56.                     should not return or the nonfatal error procedure,
  57.                     which usually returns.
  58.  
  59.           _n_u_m__p_a_r_a_m_s
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttAAAAppppppppEEEErrrrrrrroooorrrrMMMMssssgggg((((3333XXXXtttt)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))  XXXXttttAAAAppppppppEEEErrrrrrrroooorrrrMMMMssssgggg((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.                     Specifies the number of values in the parameter
  75.                     list.
  76.  
  77.           _p_a_r_a_m_s    Specifies a pointer to a list of values to be
  78.                     stored in the message.
  79.  
  80.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  81.           The _X_t_A_p_p_E_r_r_o_r_M_s_g function calls the high-level error
  82.           handler and passes the specified information.
  83.  
  84.           The _X_t_A_p_p_S_e_t_E_r_r_o_r_M_s_g_H_a_n_d_l_e_r function registers the specified
  85.           procedure, which is called when a fatal error occurs.
  86.  
  87.           The _X_t_A_p_p_S_e_t_W_a_r_n_i_n_g_M_s_g_H_a_n_d_l_e_r function registers the
  88.           specified procedure, which is called when a nonfatal error
  89.           condition occurs.
  90.  
  91.           The _X_t_A_p_p_W_a_r_n_i_n_g_M_s_g function calls the high-level error
  92.           handler and passes the specified information.
  93.  
  94.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  95.           XtAppGetErrorDatabase(3Xt), XtAppError(3Xt)
  96.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  97.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.